package com.zgw.service.impl.coupon;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import com.alibaba.dubbo.config.annotation.Service;
import com.zgw.service.test.coupon.TestCoupon;

@Component
@Service
public class TestCouponServiceImpl implements  TestCoupon{

	@Value(("${spring.dubbo.protocol.port}")) 
	private String port;
	@Value(("${spring.application.name}")) 
	private String name;
	
	@Override
	public Object testCoupon(String param) {
		System.err.println(" 优惠券基础服务收到了你的调用 "+param);
		System.err.println(" port "+port +"  name "+name);
		return " 优惠券系统已收到 ";
	}

}
